<?php

function add_query_vars($aVars) {
	$aVars[] = "placecategory"; // represents the name of the product category as shown in the URL
	return $aVars;
}
 
// hook add_query_vars function into query_vars
add_filter('query_vars', 'add_query_vars');